package com.trickytriads.services.interfaces
{
	import com.trickytriads.events.GetAllGamesEvent;
	import com.trickytriads.model.GameData;
	
	/**
	 * GameService for interacting with a remote service that contains Game data.
	 */
	public interface I_GameService
	{
		// MessageHandler for "getAllGamesRequest" event types
		function getAllGamesRequest(evt:GetAllGamesEvent) : void;
		
		// Gets the game by a given ID.
		function getGameById (game_id:Number) : GameData;
		
		// Gets an array of GameData by player id.
		function getGameListByPlayerId (player_id:Number) : Array;
	}
}